package com.itheima.service.impl;

import com.itheima.dao.TagDao;
import com.itheima.pojo.Tag;
import com.itheima.service.TagService;
import com.itheima.utils.IdWorker;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层
 *
 * @author Administrator
 *
 */
@Service
public class TagServiceImpl  implements TagService {

	@Autowired
	private TagDao tagDao;

	@Autowired
	private IdWorker idWorker;


	@Override
	public List<Tag> findAll() {
		return tagDao.selectAll();
	}
}
